package com.deve.pig.mapper;

import com.deve.pig.model.MerchantCategory;
import com.deve.pig.model.MerchantCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MerchantCategoryMapper {
    int countByExample(MerchantCategoryExample example);

    int deleteByExample(MerchantCategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MerchantCategory record);

    int insertSelective(MerchantCategory record);

    List<MerchantCategory> selectByExample(MerchantCategoryExample example);

    MerchantCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MerchantCategory record, @Param("example") MerchantCategoryExample example);

    int updateByExample(@Param("record") MerchantCategory record, @Param("example") MerchantCategoryExample example);

    int updateByPrimaryKeySelective(MerchantCategory record);

    int updateByPrimaryKey(MerchantCategory record);
}